﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SalerMonthCheckOffs.aspx.cs" Inherits="Runda.CMS.Portal.Finiance.SalerMonthCheckOffs" %>
<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
        <script src="../Content/global.js" type="text/javascript"></script>     
  <link href="../Content/global.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Menu/Menu.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Tab/tabs.css" rel="stylesheet" type="text/css" /> 
    <script type="text/javascript">
        function CheckForm() {
           
            
            return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
    <table class="mnubar" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td width="9">
                    <img hspace="3" src="../Content/Menu/mnu_vSpacer.gif" />
                </td>
                <td class="icMenu" nowrap>                 
                    <asp:LinkButton ID="lnkbtnSaveAndClose" runat="server"  
                        OnClientClick="return CheckForm();" onclick="lnkbtnSaveAndClose_Click"><span class="menu" title="保存&amp;关闭" onclick="window.execScript(this.action);"><img class="mnuBtn" src="../Content/Menu/SaveClose_16_blue.gif"><span class="mnuBtn">保存&amp;关闭</span></span></asp:LinkButton>
                    <img src="../Content/Menu/separator.gif">
                    <span class="menu" title="关闭" onclick="window.close();">
                        <img class="mnuBtn" src="../Content/Menu/Close_16_blue.gif"><span class="mnuBtn">关闭</span></span>                    
                </td>
            </tr>
        </tbody>
    </table>
    <div style="border-bottom: #c2c2bf 1px solid; border-top: #969693 1px solid">
    </div>
    <div id="areaForm" class="area">
        <table cellspacing="0" cellpadding="0" width="100%">
            <tbody>
                <tr>
                    <td valign="top">
                        <div style="display: inline" id="appForm_tab0" class="tab">
                            <asp:HiddenField ID="txtUserID" runat="server" />                           
                            <table style="table-layout: fixed" id="Section1" cellspacing="0" cellpadding="3"
                                width="100%">
                                    <tr>
                                        <td align="right">
                                            年度:
                                        </td>
                                        <td>
                                            <asp:DropDownList runat="server" ID="ddlYear" AutoPostBack="True" 
                                                onselectedindexchanged="ddlYear_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>         
                                    <tr>
                                        <td align="right">
                                            月份:
                                        </td>
                                        <td>
                                            <asp:DropDownList runat="server" ID="ddlMonth" AutoPostBack="True" 
                                                onselectedindexchanged="ddlMonth_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>                        
                                    <tr>
                                        <td align="right">
                                            核销类型:
                                        </td>
                                        <td>
                                            <asp:DropDownList runat="server" ID="ddlCheckOffsType">                                             
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                           截止上期末未核销金额:
                                        </td>
                                        <td>                                         
                                            <asp:Label ID="txtUnrealizedFundsTotal" runat="server"></asp:Label>
                                        </td>
                                        </tr>
                                        <tr>
                                        <td align="right">
                                            本月应核销款:
                                        </td>
                                        <td>
                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <asp:Label ID="txtMonthFunds" 
    runat="server"></asp:Label>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="ddlMonth" 
                                                        EventName="SelectedIndexChanged" />
                                                    <asp:AsyncPostBackTrigger ControlID="ddlYear" 
                                                        EventName="SelectedIndexChanged" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                    </tr>       
                                    <tr>
                                        <td align="right">
                                            本月实际核销款及调整:
                                        </td>
                                        <td>
                                            <rad:RadNumericTextBox runat="server" ID="txtRealizeFunds" AutoPostBack="True" 
                                                ontextchanged="txtRealizeFunds_TextChanged" >
<NumberFormat AllowRounding="True"></NumberFormat>
                                            </rad:RadNumericTextBox>
                                        </td>
                                    </tr>     
                                    <tr>
                                        <td align="right">
                                            当月未核销款：
                                        </td>
                                          <td>
                                              <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                                  <ContentTemplate>
                                                      <asp:Label runat="server" 
    ID="txtUnrealizedFunds" ></asp:Label>
                                                  </ContentTemplate>
                                                  <Triggers>
                                                      <asp:AsyncPostBackTrigger ControlID="txtRealizeFunds" EventName="TextChanged" />
                                                  </Triggers>
                                              </asp:UpdatePanel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">关联发票：</td>
                                        <td><asp:TextBox ID="txtCheckOffInv" runat="server" TextMode="SingleLine"></asp:TextBox></td>
                                    </tr>       
                                    <tr>
                                        <td align="right">备注：</td>
                                        <td><asp:TextBox ID="txtComment" runat="server" TextMode="MultiLine"></asp:TextBox></td>
                                    </tr>                                                       
                            </table>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <asp:HiddenField runat="server" ID="hiddenCheckOffsID" />
    </form>
</body>
</html>